<div class="row">
    <div class="container">
        <div class="col-xs-12">
			<?php foreach($ads as $ad): ?>
					<?php $this->renderPartial('//Partials/_NewsBox', array('ad' => $ad)); ?>
			<?php endforeach; ?>
        </div>
		<div class ="row products-grid-pager text-right">
			<?php $this->widget('CLinkPager', array(
				'pages' => $this->pages,
				'header' => "",
				'prevPageLabel'=>'<',
				'nextPageLabel'=>'>',
			)) ?>
		</div>
    </div>
</div>